 <!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>广州商学院lms</title>
    <link rel="stylesheet" href="/static/css/xadmin.css">
    <script type="text/javascript" src="/static/lib/layui/layui.js"></script>
    <script type="text/javascript" src="/static/js/jquery.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/lib/layui/css/layui.css" />
    <style>
        body{
            background: #F7F7F7;
        }
       
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">广州商学院-lms</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="{:url('index')}">首页</a></li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                {if $Think.session.user}
                <a href="javascript:;">
                    {if $Think.session.user.img}
                    <img src="/uploads/{$Think.session.user.img}" class="layui-nav-img">
                    {else\}
                    <img src="/static/img/头像默认.png" class="layui-nav-img">
                    {/if}
                    {$Think.session.user->userinfo->realname}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">切换账号</a></dd>
                </dl>
                {else/}
                <a href="{:url('login')}">登录</a>
                {/if}
            </li>
            <li class="layui-nav-item">
                {if $Think.session.user}
                <a href="{:url('logout')}">注销</a>
                {else/}
                <a href="{:url('regist')}">注册</a>
                {/if}
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li id="lab_app" class="layui-nav-item">
                    <a class=""  href="javascript:;">实验室预约</a>
                    <dl class="layui-nav-child">
                        <dd><a href="{:url('lab_empty')}">空实验室</a></dd>
                        <!--<dd><a href="javascript:;">列表二</a></dd>-->
                    </dl>
                </li>
                <li id="tool_app" class="layui-nav-item">
                    <a href="javascript:;">器具租借</a>
                    <dl class="layui-nav-child">
                        <dd><a href="{:url('tool_small_app')}">小型器具借用申请</a></dd>
                        <dd><a href="{:url('tool_big_app')}">大型器具借用申请</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" id="lab_yuyue">
                    <a href="javascript:;">预约进度</a>
                    <dl class="layui-nav-child">
                        <dd id="now_yuyue"><a href="{:url('lab_app_list')}">课室当前预约</a></dd>
                        <dd id="old_yuyue"><a href="{:url('lab_history_list')}">课室历史预约</a></dd>
                        <dd id="tool_yuyue"><a href="{:url('tool_list')}">器具借用进度</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" id="teacher_list"><a href="{:url('teacher_list')}">联系教师</a></li>
                <li class="layui-nav-item" id="notice"><a href="{:url('notice')}">公告消息</a></li>
                <li class="layui-nav-item" id="feedback"><a href="{:url('feedback')}">问题反馈</a></li>
                <li class="layui-nav-item" id="about_me"><a href="{:url('about_me')}">关于我的</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">